package com.szpx.service.impl;

import com.szpx.entity.HZJ.jiaxiaoguanli;
import com.szpx.mapper.jiaxiaoguanliMapper;
import com.szpx.service.jiaxiaoguanliService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


@Service
@Transactional //事务处理策略
public class jiaxiaoguanliServicelmpl implements jiaxiaoguanliService {

    @Autowired
    private jiaxiaoguanliMapper jiaxiaoguanliMapper;


    @Override
    public List<jiaxiaoguanli> selectAlljiaxiaoguanli() {
        return jiaxiaoguanliMapper.selectAll();
    }
}
